package com.tbit.uqbike.object.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;

/**
 * @author MyWin E-mail:335918956@qq.com
 * @version 1.0
 * @createTime 2019-12-26 20:24
 */
@Data
public class MachineBaseInfo {

    private Integer machineId;
    private Integer machineType;
    private String machineNO;
    private String userCode;
    private Date joinTime;
    private Integer state;

    private Integer accountId;
    private String accountName;

    private Integer brandId;
    private String brandName;

    private Integer batteryModelId;
    private String batteryName;
    private Integer batteryType;
    private Integer secondaryBattertId;

    //电池编号
    private String batteryNO;

    //标签名称
    private String tagName;


    /**
     * 电池电量百分比
     * 如 80 代表 80%
     *
     */
    private Integer socPercent;

    public Integer getSocPercent() {
        return socPercent;
    }

    public void setSocPercent(Integer socPercent) {
        this.socPercent = socPercent;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getBatteryNO() {
        return batteryNO;
    }

    public void setBatteryNO(String batteryNO) {
        this.batteryNO = batteryNO;
    }

    @JSONField(serialize = false)
    private Integer type;
    @JSONField(serialize = false)
    private Integer parentId;

    /**
     * 车架号
     */
    private String frame;
    /**
     * 车牌号
     */
    private String license;
    /**
     * 电机号
     */
    private String motor;
    /**
     * 车辆描述
     */
    private String remark;
    /**
     * 头盔mac地址
     */
    private String helmetMac;

    /**
     * 所属分组名称
     */
    private String groupName;
}
